package com.yudean.esb.domain.erp;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * Created by zenghui on 2015-05-18.
 * desc:保单数据 mapper to IDS_INS_HEADER_INT
 */
public class ErpIdsInsHeaderInt implements Serializable{

    private static final String TAG = "ErpIdsInsHeaderInt";
    private BigDecimal headId; // header_Id	NUMBER	Not NULL	Id
    private String insNum; // 保单编码 VARCHAR2(100) Not Null 替代headId和insNumber作为唯一编码
    private String compCode; // Comp_Code	VARCHAR2(40)	NOT NULL	公司代码
    private String insNumber; // Ins_Number 	Varchar2(100)	Not Null	保单号
    private String endOrSementNum; // ENDORSEMENT_NUM	Varchar2(100)		批单号
    private String insType; // INS_TYPE	VARCHAR2(30)	Not Null	险种
    private String contractCode; // CONTRACT_CODE	VARCHAR2(100)		合同编码
    private String contractName; // CONTRACT_NAME	VARCHAR2(200)		合同名称
    private Date startDate; // START_DATE	DATE	Not Null	生效日
    private Date endDate; // END_DATE	DATE	Not Null	到期日
    private String insStatus; // INS_STATUS	VARCHAR2(30)		保单状态	正常、暂停、终止
    private String currency; // CURRENCY	VARCHAR2(20)		币种
    private BigDecimal insAssetAmount; // INS_ASSET_AMOUNT	NUMBER		可投保资产
    private BigDecimal insAmount; // INS_AMOUNT	NUMBER		保单保险金额
    private BigDecimal indemnityLimit; // INDEMNITY_LIMIT	NUMBER		赔偿限额
    private BigDecimal insPsnNum; // INS_PSN_NUM	NUMBER		投保人数
    private BigDecimal perPsnAmount; // PER_PSN_AMOUNT	NUMBER		人均保费
    private BigDecimal feeRate; // FEE_RATE	NUMBER		保费费率
    private BigDecimal insFeeCny; // INS_FEE_CNY	NUMBER		保费金额（人民币）
    private BigDecimal insFeeForeign; // INS_FEE_FOREIGN	NUMBER		保费金额（外币）
    private BigDecimal exchangeRate; // EXCHANGE_RATE	NUMBER		汇率
    private BigDecimal feeStatus; // FEE_STATUS	VARCHAR2(30)		保费支付状态	未支付、部分支付、完全支付
    private Date creationDate; // Creation_Date	DATE	Not null	记录创建日期
    private BigDecimal createdBy; // Created_By	NUMBER	Not NULL	创建者ID, 缺省为：-1
    private Date lastUpdateDate; // Last_Update_Date	DATE	Not NULL	本条记录最后更新日期
    private BigDecimal lastUpdatedBy; // Last_Updated_By	NUMBER	NOT NULL	本条记录最后更新者ID
    private String processStatus; // Process_Status	Varchar2(10)		读写状态	U-初始状态、S-被读取状态
    private String attribute1; // Attribute1	VARCHAR2(240)
    private String attribute2; // Attribute2	VARCHAR2(240)
    private String attribute3; // Attribute3	VARCHAR2(240)
    private String attribute4; // Attribute4	VARCHAR2(240)
    private String attribute5; // Attribute5	VARCHAR2(240)
    private String attribute6; // Attribute6	VARCHAR2(240)
    private String attribute7; // Attribute7	VARCHAR2(240)
    private String attribute8; // Attribute8	VARCHAR2(240)
    private String attribute9; // Attribute9	VARCHAR2(240)
    private String attribute10; // Attribute10	VARCHAR2(240)

    @Override
    public String toString() {
        return "ErpIdsInsHeaderInt{" +
                "headId=" + headId +
                ", insNum='" + insNum + '\'' +
                ", compCode='" + compCode + '\'' +
                ", insNumber='" + insNumber + '\'' +
                ", endOrSementNum='" + endOrSementNum + '\'' +
                ", insType='" + insType + '\'' +
                ", contractCode='" + contractCode + '\'' +
                ", contractName='" + contractName + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", insStatus='" + insStatus + '\'' +
                ", currency='" + currency + '\'' +
                ", insAssetAmount=" + insAssetAmount +
                ", insAmount=" + insAmount +
                ", indemnityLimit=" + indemnityLimit +
                ", insPsnNum=" + insPsnNum +
                ", perPsnAmount=" + perPsnAmount +
                ", feeRate=" + feeRate +
                ", insFeeCny=" + insFeeCny +
                ", insFeeForeign=" + insFeeForeign +
                ", exchangeRate=" + exchangeRate +
                ", feeStatus=" + feeStatus +
                ", creationDate=" + creationDate +
                ", createdBy=" + createdBy +
                ", lastUpdateDate=" + lastUpdateDate +
                ", lastUpdatedBy=" + lastUpdatedBy +
                ", processStatus='" + processStatus + '\'' +
                ", attribute1='" + attribute1 + '\'' +
                ", attribute2='" + attribute2 + '\'' +
                ", attribute3='" + attribute3 + '\'' +
                ", attribute4='" + attribute4 + '\'' +
                ", attribute5='" + attribute5 + '\'' +
                ", attribute6='" + attribute6 + '\'' +
                ", attribute7='" + attribute7 + '\'' +
                ", attribute8='" + attribute8 + '\'' +
                ", attribute9='" + attribute9 + '\'' +
                ", attribute10='" + attribute10 + '\'' +
                '}';
    }

    public BigDecimal getHeadId() {
        return headId;
    }

    public void setHeadId(BigDecimal headId) {
        this.headId = headId;
    }
    public String getInsNum() {
        return insNum;
    }

    public void setInsNum(String insNum) {
        this.insNum = insNum;
    }
    public String getCompCode() {
        return compCode;
    }

    public void setCompCode(String compCode) {
        this.compCode = compCode;
    }

    public String getInsNumber() {
        return insNumber;
    }

    public void setInsNumber(String insNumber) {
        this.insNumber = insNumber;
    }

    public String getEndOrSementNum() {
        return endOrSementNum;
    }

    public void setEndOrSementNum(String endOrSementNum) {
        this.endOrSementNum = endOrSementNum;
    }

    public String getInsType() {
        return insType;
    }

    public void setInsType(String insType) {
        this.insType = insType;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getInsStatus() {
        return insStatus;
    }

    public void setInsStatus(String insStatus) {
        this.insStatus = insStatus;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public BigDecimal getInsAssetAmount() {
        return insAssetAmount;
    }

    public void setInsAssetAmount(BigDecimal insAssetAmount) {
        this.insAssetAmount = insAssetAmount;
    }

    public BigDecimal getInsAmount() {
        return insAmount;
    }

    public void setInsAmount(BigDecimal insAmount) {
        this.insAmount = insAmount;
    }

    public BigDecimal getIndemnityLimit() {
        return indemnityLimit;
    }

    public void setIndemnityLimit(BigDecimal indemnityLimit) {
        this.indemnityLimit = indemnityLimit;
    }

    public BigDecimal getInsPsnNum() {
        return insPsnNum;
    }

    public void setInsPsnNum(BigDecimal insPsnNum) {
        this.insPsnNum = insPsnNum;
    }

    public BigDecimal getPerPsnAmount() {
        return perPsnAmount;
    }

    public void setPerPsnAmount(BigDecimal perPsnAmount) {
        this.perPsnAmount = perPsnAmount;
    }

    public BigDecimal getFeeRate() {
        return feeRate;
    }

    public void setFeeRate(BigDecimal feeRate) {
        this.feeRate = feeRate;
    }

    public BigDecimal getInsFeeCny() {
        return insFeeCny;
    }

    public void setInsFeeCny(BigDecimal insFeeCny) {
        this.insFeeCny = insFeeCny;
    }

    public BigDecimal getInsFeeForeign() {
        return insFeeForeign;
    }

    public void setInsFeeForeign(BigDecimal insFeeForeign) {
        this.insFeeForeign = insFeeForeign;
    }

    public BigDecimal getExchangeRate() {
        return exchangeRate;
    }

    public void setExchangeRate(BigDecimal exchangeRate) {
        this.exchangeRate = exchangeRate;
    }

    public BigDecimal getFeeStatus() {
        return feeStatus;
    }

    public void setFeeStatus(BigDecimal feeStatus) {
        this.feeStatus = feeStatus;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public BigDecimal getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(BigDecimal createdBy) {
        this.createdBy = createdBy;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public BigDecimal getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(BigDecimal lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }

    public String getAttribute1() {
        return attribute1;
    }

    public void setAttribute1(String attribute1) {
        this.attribute1 = attribute1;
    }

    public String getAttribute2() {
        return attribute2;
    }

    public void setAttribute2(String attribute2) {
        this.attribute2 = attribute2;
    }

    public String getAttribute3() {
        return attribute3;
    }

    public void setAttribute3(String attribute3) {
        this.attribute3 = attribute3;
    }

    public String getAttribute4() {
        return attribute4;
    }

    public void setAttribute4(String attribute4) {
        this.attribute4 = attribute4;
    }

    public String getAttribute5() {
        return attribute5;
    }

    public void setAttribute5(String attribute5) {
        this.attribute5 = attribute5;
    }

    public String getAttribute6() {
        return attribute6;
    }

    public void setAttribute6(String attribute6) {
        this.attribute6 = attribute6;
    }

    public String getAttribute7() {
        return attribute7;
    }

    public void setAttribute7(String attribute7) {
        this.attribute7 = attribute7;
    }

    public String getAttribute8() {
        return attribute8;
    }

    public void setAttribute8(String attribute8) {
        this.attribute8 = attribute8;
    }

    public String getAttribute9() {
        return attribute9;
    }

    public void setAttribute9(String attribute9) {
        this.attribute9 = attribute9;
    }

    public String getAttribute10() {
        return attribute10;
    }

    public void setAttribute10(String attribute10) {
        this.attribute10 = attribute10;
    }
}
